<header class="main-header">
    <!-- Logo -->
    <a href="index.html" class="logo">
      <!-- mini logo for sidebar mini 50x50 pixels -->
      <span class="logo-mini"><b>M</b>uu</span>
      <!-- logo for regular state and mobile devices -->
      <span class="logo-lg"><b>MuuCMF </b>T5</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
      <!-- Sidebar toggle button-->
      <a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
        <span class="sr-only">Toggle navigation</span>
      </a>
      <!-- Muu system menus -->
      <div class="nav-system-menu">
        <ul class="nav navbar-nav">
          {volist name="__MODULE_MENU__.main" id="menu"}
            {neq name="$menu.type" value="1"}
            <li data-id="{$menu.id}" data-url="{$menu.url}" class="{$menu.class|default=''}">
                <a href="{$menu.url|url}">
                    {notempty name="menu.icon"}
                        <i class="fa fa-{$menu.icon}"></i>
                    {else /}
                        <i class="fa fa-circle-o"></i>
                    {/notempty}
                    <span>{$menu.title}</span>
                </a>
            {/neq}
          {/volist}
        </ul>
      </div>

      <div class="navbar-custom-menu">
        <ul class="nav navbar-nav">
          <li class="messages-menu">
            <a data-role="open-slider-box" data-url="{:url('ucenter/Message/messagetypelist')}" data-toggle="modal" data-target="#msgModal">
              <i class="fa fa-bell"></i>
              <span class="label label-success" id="nav_bandage_count"></span>
            </a>
          </li>
          <!--clear cache-->
          <li><a href="javascript:;" title="{:lang('_CACHE_CLEAR_')}" data-id="clear_cache" data-msg="{:lang('_CACHE_CLEAR_SUCCESS_')}{:lang('_PERIOD_')}" data-url="{:url('admin/common/clear_cache')}">
                <i class="fa fa-trash"></i> 
              </a>
          </li>

          <li><a target="_blank" title="{:lang('_FORESTAGE_OPEN_')}" href="{:url('index/Index/index')}">
                <i class="fa fa-copy"></i> 
              </a>
          </li>
          <!-- User Account: style can be found in dropdown.less -->
          <li class="dropdown user user-menu">
            <a href="#" class="dropdown-toggle" data-toggle="dropdown">
              <img src="{$__AUTH_USER__.avatar32}" class="user-image" alt="User Image">
              <span class="nickname">{$__AUTH_USER__.nickname}</span>
            </a>
            <ul class="dropdown-menu">
              <!-- User image -->
              <li class="user-header">
                <img src="{$__AUTH_USER__.avatar64}" class="img-circle" alt="User Image">
                <p>
                  {$__AUTH_USER__.nickname}
                  <small>
                      {empty name="__AUTH_USER__['signature']"}
                        这家伙太懒，不爱写签名
                      {else /}
                        {$__AUTH_USER__.signature}
                      {/empty}
                  </small>
                </p>
              </li>
              <!-- Menu Body -->
              <li class="user-body">
                <div class="row">
                  <div class="col-xs-4 text-center">
                    <a href="#">关注 {$__AUTH_USER__.following}</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">粉丝 {$__AUTH_USER__.fans}</a>
                  </div>
                  <div class="col-xs-4 text-center">
                    <a href="#">
                      {$__AUTH_USER__.title}
                    </a>
                  </div>
                </div>
                <!-- /.row -->
              </li>
              <!-- Menu Footer-->
              <li class="user-footer">
                <div class="pull-left">
                  <a target="main_iframe" href="{:url('ucenter/Config/password')}" class="btn btn-default btn-flat">{:lang('_PASSWORD_CHANGE_')}</a>
                  <a target="main_iframe" href="{:url('ucenter/Config/index')}" class="btn btn-default btn-flat">{:lang('_NICKNAME_CHANGE_')}</a>
                </div>
                <div class="pull-right">
                  <a href="{:url('admin/Common/logout')}" class="btn btn-default btn-flat ajax-get confirm">
                    {:lang('_EXIT_')}
                  </a>
                </div>
              </li>
            </ul>
          </li>

          <!-- fullscreen Btn-->
          <li><a id="full-screen" data-toggle="fullscreen">
                <i class="fa fa-arrows-alt"></i>
              </a>
          </li>
          <!-- Control Sidebar Toggle Button -->
          <li>
            <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
          </li>
        </ul>
      </div>
    </nav>
  </header>